package com.xiaoshuidi.cloud.module.finance.controller.admin.finance.vo.account;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


/**
 * @author 57299
 * @date 2023/09/12
 */
@Schema(description = "管理后台 - 账户退款 Request VO")
@Data
public class FinanceAccountRefundReqVO {
    @Schema(description = "会员id/企业id")
    private String custId;
    @Schema(description = "账户类型INDIVIDUAL个人/COMPANY企业")
    private String custType;
    @Schema(description = "退款金额")
    @NotNull(message = "退款金额必需大于0")
    @DecimalMin(value = "0", message = "退款金额必需大于0")
    private BigDecimal refundAmount;

    @Schema(description = "收款人")
    private String payeeName;
    /**
     * 收款银行名(金蝶维护)
     */
    @Schema(description = "收款银行名")
    private String payeeBank;
    @Schema(description = "收款银行支行名(金蝶维护)")
    private String payeeBankBranch;
    /**
     * 收款银行行号(金蝶维护)
     */
    @Schema(description = "收款银行行号(金蝶维护)")
    private String payeeBankCode;
    /**
     * 收款银行所在省(金蝶维护)
     */
    @Schema(description = "收款银行所在省(金蝶维护)")
    private String payeeBankProvince;
    /**
     * 收款银行所在市(金蝶维护)
     */
    @Schema(description = "收款银行所在市(金蝶维护)")
    private String payeeBankCity;
    /**
     * 收款账号
     */
    @Schema(description = "收款账号")
    private String payeeBankAccount;
    /**
     * 事由
     */
    @Schema(description = "事由")
    private String reason;
    private String attachment;
    @Schema(description = "相关门店id")
    private Long apartmentId;
    @Schema(description = "相关门店名称")
    private String apartmentName;
}
